package com.sf.fy.uav.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 推广记录表
 * </p>
 *
 * @author LTQ
 * @since 2023-08-18
 */
@TableName("promotion_records")
@ApiModel(value = "PromotionRecords对象", description = "推广记录表")
public class PromotionRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("下单用户手机号")
    private String payerPhoneNumber;

    @ApiModelProperty("下单用户id")
    private String payerUserId;

    @ApiModelProperty("订单编号")
    private String tcWaybillNo;

    @ApiModelProperty("奖励类型,0同城，1跨城")
    private Byte rewardType;

    @ApiModelProperty("下单时间")
    private Date orderTime;

    @ApiModelProperty("完成时间")
    private Date finishTime;

    @ApiModelProperty("推广用户手机号")
    private String promotionPhoneNumber;

    @ApiModelProperty("推广用户id")
    private String promotionUserId;

    @ApiModelProperty("推广奖励金额,如果为空表示活动还没完成，奖励还没到账")
    private BigDecimal promotionReward;

    private String activityId;

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getPayerPhoneNumber() {
        return payerPhoneNumber;
    }

    public void setPayerPhoneNumber(String payerPhoneNumber) {
        this.payerPhoneNumber = payerPhoneNumber;
    }

    public String getPayerUserId() {
        return payerUserId;
    }

    public void setPayerUserId(String payerUserId) {
        this.payerUserId = payerUserId;
    }

    public String getTcWaybillNo() {
        return tcWaybillNo;
    }

    public void setTcWaybillNo(String tcWaybillNo) {
        this.tcWaybillNo = tcWaybillNo;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public String getPromotionPhoneNumber() {
        return promotionPhoneNumber;
    }

    public void setPromotionPhoneNumber(String promotionPhoneNumber) {
        this.promotionPhoneNumber = promotionPhoneNumber;
    }

    public String getPromotionUserId() {
        return promotionUserId;
    }

    public void setPromotionUserId(String promotionUserId) {
        this.promotionUserId = promotionUserId;
    }

    public BigDecimal getPromotionReward() {
        return promotionReward;
    }

    public void setPromotionReward(BigDecimal promotionReward) {
        this.promotionReward = promotionReward;
    }

    public Byte getRewardType() {
        return rewardType;
    }

    public void setRewardType(Byte rewardType) {
        this.rewardType = rewardType;
    }

    @Override
    public String toString() {
        return "PromotionRecords{" +
                "id='" + id + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", payerPhoneNumber='" + payerPhoneNumber + '\'' +
                ", payerUserId='" + payerUserId + '\'' +
                ", tcWaybillNo='" + tcWaybillNo + '\'' +
                ", orderTime=" + orderTime +
                ", finishTime=" + finishTime +
                ", promotionPhoneNumber='" + promotionPhoneNumber + '\'' +
                ", promotionUserId='" + promotionUserId + '\'' +
                ", promotionReward=" + promotionReward +
                ", activityId='" + activityId + '\'' +
                '}';
    }
}
